﻿#pragma once

#include "../../../StdAfx.h"
#include "LOGIN.h"
#include "../../../../QuantyView3d/MiniMine/DIO/DIO.h"
#include "../../DAO/DAO.h"
#include"../../../QuantyView3DView.h"
#include "afxdialogex.h"
#include "resource2.h"
// ZKCXJL 对话框

class ZKCXJL : public CDialogEx
{
	DECLARE_DYNAMIC(ZKCXJL)

public:
	ZKCXJL(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ZKCXJL();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_ZKCXIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	User_ST user;
	CQuantyView3DView* view;
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CListCtrl ZKCXJLLIST;
private:
	CEdit CXKTQ;
	CEdit CXZKBH;
public:
	CButton ZKCX_ADD;
	afx_msg void OnBnClickedZkcxAdd();

	CComboBox m_zkcxktq;
	afx_msg void OnCbnSelchangeComboZkcxktqbh();
	afx_msg void OnCbnSelchangeComboZkcxzkbh();
	CComboBox m_zkcxzkbh;
	void setView(CQuantyView3DView* view__)
	{
		view = view__;
		user = view->getUser();
	}
	afx_msg void OnBnClickedZkcxAdd1();
};
